    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', sans-serif;
    }

    body {
      background-color: #f4f4f4;
      color: #333;
    }

    nav a {
      color:black;
      font-size: 20px;
      margin-left: 20px;
      text-decoration: none;
      font-weight: bold;
      padding: 15px;
      overflow: hidden;
      float: left;
    }

    nav a:hover:not(.active){
      background-color:#eee;
      color: black;
      border-radius: 10px;
      padding: auto;
    }

    .active{
        background-color:rgb(229, 38, 38);
        color: #eee;
        border-radius: 10px;
    }

    .carousel-slide{
      
      height: 600px;
    }



    .for img{
      display: inline-block;
      height: 550px;
      width: 95%;
      margin: auto;
      padding-left: 20px;
      padding-right: 20px;
      background-color:  #f4f4f4;
    }
    
    .carousel-item image{
      display: inline-block;
      height: fit-content;
      width: fit-content;
      border-radius: 20px;
      
    }


     @media (max-width: 768px) {
    .carousel-inner {
      height: 250px;
    }
  }
    

    .section {
      padding: 40px;
      text-align: center;
    }

    .section h2 {
      margin-bottom: 20px;
      font-size: 2rem;
      color: black;
    }

    .tyre-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
    }

    .tyre-card {
      background: white;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 0 8px rgba(0,0,0,0.1);
      text-align: justify;
    }

    .tyre-card img {
      width: 100%;
      height: 280px;
      object-fit: cover;
      border-radius: 10px;
    }

    .tyre-card h3 {
      margin: 15px 0 10px;
      font-size: 1.2rem;
    }

    .tyre-card p {
      font-size: 0.95rem;
      color: #555;
    }

    .tyre-card:hover {
      transform: translateY(-2%);
      box-shadow: 0 8px 16px rgba(10, 10, 10, 1);
    }

    .buying{
      width: 100%;
      height: 20%;
      text-overflow:inherit;
      overflow-y:auto;
      overflow-x: hidden;
      text-wrap:inherit;
      margin: auto;
    }

    .righttyre img{
      width: 20%;
      height: 180px;
      object-fit: cover;
      border-radius: 10px;
    }

     .add-to-cart-btn {
      background-color: #28a745;
      color: white;
      padding: 12px 20px;
      border: none;
      border-radius: 5px;
      font-size: 16px;
      cursor: pointer;
      margin-top: 20px;;
    }

    .add-to-cart-btn:hover {
      background-color: #218838;
    }

*, *:before, *:after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  font-family: acumin-pro, system-ui, sans-serif;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  font-size: 14px;
  background-color: #f4f4f4;
  align-items: start;
  min-height: 100vh;
}

.footer {
  display: flex;
  flex-flow: row wrap;
  padding: 30px 30px 20px 30px;
  color:#2f2f2f;
  background-color:azure;
  border-top: 1px solid #e5e5e5;
}

.footer > * {
  flex:  1 100%;
}

.footer__addr {
  margin-right: 1.25em;
  margin-bottom: 2em;
}

.footer__logo {
  font-family: 'Pacifico', cursive;
  font-weight: 400;
  text-transform: lowercase;
  font-size: 1.5rem;
}

.footer__addr h2 {
  margin-top: 1.3em;
  font-size: 20px;
  font-weight: 400;
}

.nav__title {
  font-weight: 400;
  font-size: 20px;
}

.footer address {
  font-style: normal;
  color: #999;
}

.footer__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  max-width: max-content;
  background-color: rgb(33, 33, 33, 0.07);
  border-radius: 100px;
  color: #2f2f2f;
  line-height: 0;
  margin: 0.6em 0;
  font-size:1rem;
  padding: 0 1.3em;
}

.footer ul {
  list-style: none;
  padding-left: 0;
}

.footer li {
  line-height: 2em;
}

.footer a {
  text-decoration: none;
}

.footer__nav {
  display: flex;
	flex-flow: row wrap;
}

.footer__nav > * {
  flex: 1 50%;
  margin-right: 1.25em;
}

.nav__ul a {
  color: #999;
}

.nav__ul--extra {
  column-count: 2;
  column-gap: 1.25em;
}

.legal {
  flex-wrap: wrap;
  color: #999;
  text-align: center;
}
  


@media screen and (min-width: 24.375em) {
  .legal .legal__links {
    margin-left: auto;
  }
}

@media screen and (min-width: 40.375em) {
  .footer__nav > * {
    flex: 1;
  }
  
  .nav__item--extra {
    flex-grow: 2;
  }
  
  .footer__addr {
    flex: 1 0px;
  }
  
  .footer__nav {
    flex: 2 0px;
  }
}
    
